package com.mapper;

import com.bean.ZjMusic;
import com.bean.realation.MusicCollect;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Page;

import java.util.List;

@Mapper
public interface ZjMusicMapper {

    ZjMusic randomMusic();

    ZjMusic randomZjMusic(String userid);

    List<ZjMusic> selectLike(ZjMusic zjMusic);

    List<ZjMusic> listSelfMusic(ZjMusic zjMusic);

    int deleteSelfMusic(MusicCollect musicCollect);
}
